Fix a few memory leaks wrt to translations
authorMatthias Clasen <mclasen@redhat.com>
Mon, 29 Apr 2013 01:43:49 +0000 (21:43 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 29 Apr 2013 01:43:49 +0000 (21:43 -0400)
commite9f182e37a7f6e2dc339054841a3c9f930f573ed
tree4c6193453e3a99403eeb327a58f8f6c15d8423b7
parent13858fde29e9626d1d959d436f87105263bced98
Fix a few memory leaks wrt to translations

Pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=699016
The fix here is slightly different. We make
_gtk_builder_parser_translate return a const char * instead of
a dup'ed string, and fix up the callers.
gtk/gtkbuilderparser.c
gtk/gtkbuilderprivate.h
gtk/gtkcelllayout.c
gtk/gtkcomboboxtext.c
gtk/gtkcontainer.c
gtk/gtkliststore.c
gtk/gtkscale.c
gtk/gtkwidget.c